package com.zzyl.service;

import com.zzyl.base.PageResponse;
import com.zzyl.dto.RoleDto;
import com.zzyl.vo.RoleVo;

import java.util.List;

public interface RoleService {
    Boolean add(RoleDto roleDto);

    List<String> findCheckedResources(long l);

    Boolean update(RoleDto roleDto);

    PageResponse<RoleVo> list(RoleDto roleDto, Integer pageNum, Integer pageSize);

    void delete(String roleIds);
}
